package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 调拨订单商品entity
 * @author gaozijie
 * @since 2023-11-20
 */
@Data
@TableName("tz_allot_order_item")
public class AllotOrderItem {

    /**
     * 调拨订单商品id
     */
    @TableId
    private Long allotOrderItemId;

    /**
     * 调拨订单id
     */
    private Long allotOrderId;

    /**
     * 商品spuId
     */
    private Long spuId;

    /**
     * 商品skuId
     */
    private Long skuId;

    /**
     * 调拨数量
     */
    private Integer allotCount;

    /**
     * 调拨入库数量
     */
    private Integer allotInCount;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
